home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
Memory v2.1 ••••
/
Memory 2.1
/
Memory 2.1.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1987-05-10
|
58KB
|
997 lines
# near model CODE resource
# jump table entries: 264-264 (1 of them)
export_33:
00000000 4E56 FFF8 link A6, -0x0008
00000004 48E7 0108 movem.l -[A7], D7,A4
00000008 49ED F252 lea.l A4, [A5 - 0xDAE]
0000000C 2F0C move.l -[A7], A4
0000000E A86E syscall InitGraf
00000010 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
00000014 A8FE syscall InitFonts
00000016 3F3C FFFF move.w -[A7], 0xFFFF
0000001A 4267 clr.w -[A7]
0000001C 201F move.l D0, [A7]+
0000001E A032 syscall FlushEvents
00000020 A912 syscall InitWindows
00000022 A930 syscall InitMenus
00000024 A9CC syscall TEInit
00000026 42A7 clr.l -[A7]
00000028 A97B syscall InitDialogs
0000002A 1F3C 0001 move.b -[A7], 0x1
0000002E A993 syscall SetResPurge
00000030 42AD F266 clr.l [A5 - 0xD9A]
00000034 42AD F26A clr.l [A5 - 0xD96]
00000038 42AD F272 clr.l [A5 - 0xD8E]
0000003C 42AD F2B8 clr.l [A5 - 0xD48]
00000040 598F subq.l A7, 4
00000042 A8D8 syscall NewRgn
00000044 2E1F move.l D7, [A7]+
00000046 2B47 F28A move.l [A5 - 0xD76], D7
0000004A 1B7A 00B2 FDF2 move.b [A5 - 0x20E], [PC + 0xB2 /* 000000FE, value 0x0, cstring "" */]
00000050 4EBA 00AE jsr [PC + 0xAE /* 00000100 */]
00000054 4EBA 032A jsr [PC + 0x32A /* 00000380 */]
00000058 486E FFFC pea.l [A6 - 0x4]
0000005C A910 syscall GetWMgrPort
0000005E 286E FFFC movea.l A4, [A6 - 0x4]
00000062 2B6C 0008 FB68 move.l [A5 - 0x498], [A4 + 0x8]
00000068 2B6C 000C FB6C move.l [A5 - 0x494], [A4 + 0xC]
0000006E 4EBA 0282 jsr [PC + 0x282 /* 000002F2 */]
00000072 558F subq.l A7, 2
00000074 4EBA 03CC jsr [PC + 0x3CC /* 00000442 */]
00000078 1E1F move.b D7, [A7]+
0000007A 1D47 FFFA move.b [A6 - 0x6], D7
0000007E 0C2D 0004 FB70 cmpi.b [A5 - 0x490], 0x4
00000084 6600 0006 bne +0x8 /* 0000008C */
00000088 4EFA 006C jmp [PC + 0x6C /* 000000F6 */]
label0000008C:
0000008C 4EBA 063E jsr [PC + 0x63E /* 000006CC */]
00000090 558F subq.l A7, 2
00000092 4EBA 0844 jsr [PC + 0x844 /* 000008D8 */]
00000096 1E1F move.b D7, [A7]+
00000098 1D47 FFF8 move.b [A6 - 0x8], D7
0000009C 0C2D 0004 FB70 cmpi.b [A5 - 0x490], 0x4
000000A2 6600 0006 bne +0x8 /* 000000AA */
000000A6 4EFA 004E jmp [PC + 0x4E /* 000000F6 */]
label000000AA:
000000AA 4EBA 0936 jsr [PC + 0x936 /* 000009E2 */]
000000AE 4EBA 0A00 jsr [PC + 0xA00 /* 00000AB0 */]
000000B2 4A2E FFFA tst.b [A6 - 0x6]
000000B6 6700 0014 beq +0x16 /* 000000CC */
000000BA 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
000000BE 0C2D 0004 FB70 cmpi.b [A5 - 0x490], 0x4
000000C4 6600 0006 bne +0x8 /* 000000CC */
000000C8 4EFA 002C jmp [PC + 0x2C /* 000000F6 */]
label000000CC:
000000CC 4A2E FFF8 tst.b [A6 - 0x8]
000000D0 6700 0020 beq +0x22 /* 000000F2 */
000000D4 4EAD 0132 jsr [A5 + 0x132 /* export_34 */]
label000000D8:
000000D8 558F subq.l A7, 2
000000DA 3F3C 0040 move.w -[A7], 0x40 /* '@' */
000000DE 486D F256 pea.l [A5 - 0xDAA]
000000E2 A970 syscall GetNextEvent
000000E4 1E1F move.b D7, [A7]+
000000E6 6700 000A beq +0xC /* 000000F2 */
000000EA 4EAD 02A2 jsr [A5 + 0x2A2 /* export_80 */]
000000EE 4EFA FFE8 jmp [PC - 0x18 /* 000000D8 */]
label000000F2:
000000F2 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
label000000F6:
000000F6 4CDF 1080 movem.l D7,A4, [A7]+
000000FA 4E5E unlink A6
000000FC 4E75 rts
000000FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000100-00000108
fn00000100:
00000100 4E56 FE90 link A6, -0x0170
00000104 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
// end alternate branch 00000100-00000108
fn00000100: // (misaligned)
00000102 FE90 48E7 .extension 0xE90 <<F/2-3/7>> // unimplemented
00000106 0718 btst [A0]+, D3
00000108 1B7A 01E6 FEF2 move.b [A5 - 0x10E], [PC + 0x1E6 /* 000002F0, value 0x0, cstring "" */]
0000010E 558F subq.l A7, 2
00000110 49ED FDF2 lea.l A4, [A5 - 0x20E]
00000114 2F0C move.l -[A7], A4
00000116 486D F2CA pea.l [A5 - 0xD36]
0000011A 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
0000011E 3E1F move.w D7, [A7]+
00000120 3B47 F2CC move.w [A5 - 0xD34], D7
00000124 558F subq.l A7, 2
00000126 3F2D F2CC move.w -[A7], [A5 - 0xD34]
0000012A 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000012E 1E1F move.b D7, [A7]+
00000130 6700 0006 beq +0x8 /* 00000138 */
00000134 4EFA 01A8 jmp [PC + 0x1A8 /* 000002DE */]
label00000138:
00000138 558F subq.l A7, 2
0000013A 3F3C FFFF move.w -[A7], 0xFFFF
0000013E 486D F256 pea.l [A5 - 0xDAA]
00000142 A971 syscall EventAvail
00000144 1E1F move.b D7, [A7]+
00000146 1D47 FE90 move.b [A6 - 0x170], D7
0000014A 486E FFFE pea.l [A6 - 0x2]
0000014E 486E FFFC pea.l [A6 - 0x4]
00000152 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
00000156 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
0000015C 6600 0008 bne +0xA /* 00000166 */
00000160 A9F4 syscall ExitToShell
00000162 4EFA 0120 jmp [PC + 0x120 /* 00000284 */]
label00000166:
00000166 0C6E 0000 FFFC cmpi.w [A6 - 0x4], 0x0
0000016C 6F00 007E ble +0x80 /* 000001EC */
00000170 3F3C 0001 move.w -[A7], 0x1
00000174 486E FEF0 pea.l [A6 - 0x110]
00000178 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
0000017C 3F3C 0004 move.w -[A7], 0x4
00000180 486E FEF2 pea.l [A6 - 0x10E]
00000184 3F3C 0004 move.w -[A7], 0x4
00000188 487A 0162 pea.l [PC + 0x162 /* 000002EC, value 0x4946494C 'IFIL', cstring "IFIL" */]
0000018C 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
00000190 6600 0056 bne +0x58 /* 000001E8 */
00000194 558F subq.l A7, 2
00000196 42A7 clr.l -[A7]
00000198 3F2E FEF0 move.w -[A7], [A6 - 0x110]
0000019C 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
000001A0 3E1F move.w D7, [A7]+
000001A2 3B47 F2CC move.w [A5 - 0xD34], D7
000001A6 558F subq.l A7, 2
000001A8 3F2D F2CC move.w -[A7], [A5 - 0xD34]
000001AC 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000001B0 1E1F move.b D7, [A7]+
000001B2 6700 0006 beq +0x8 /* 000001BA */
000001B6 4EFA 0126 jmp [PC + 0x126 /* 000002DE */]
label000001BA:
000001BA 558F subq.l A7, 2
000001BC 486E FEF8 pea.l [A6 - 0x108]
000001C0 A997 syscall OpenResFile
000001C2 3E1F move.w D7, [A7]+
000001C4 3D47 FFFA move.w [A6 - 0x6], D7
000001C8 3F2E FFFA move.w -[A7], [A6 - 0x6]
000001CC A998 syscall UseResFile
000001CE 3F3C 0001 move.w -[A7], 0x1
000001D2 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
000001D6 49ED FEF2 lea.l A4, [A5 - 0x10E]
000001DA 47EE FEF8 lea.l A3, [A6 - 0x108]
000001DE 4247 clr.w D7
000001E0 1E13 move.b D7, [A3]
label000001E2:
000001E2 18DB move.b [A4]+, [A3]+
000001E4 51CF FFFC dbf D7, -0x6 /* 000001E2 */
label000001E8:
000001E8 4EFA 009A jmp [PC + 0x9A /* 00000284 */]
label000001EC:
000001EC 4287 clr.l D7
000001EE 3E2D F264 move.w D7, [A5 - 0xD9C]
000001F2 4286 clr.l D6
000001F4 3C3C 0800 move.w D6, 0x800
000001F8 CC87 and.l D6, D7
000001FA 4A86 tst.l D6
000001FC 6600 0086 bne +0x88 /* 00000284 */
00000200 486E FEEC pea.l [A6 - 0x114]
00000204 3F3C 0055 move.w -[A7], 0x55 /* 'U' */
00000208 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
0000020C A880 syscall SetPt
0000020E 2D7A 00D8 FEDC move.l [A6 - 0x124], [PC + 0xD8 /* 000002E8, value 0x4946494C 'IFIL', cstring "IFILIFIL" */]
00000214 2F2E FEEC move.l -[A7], [A6 - 0x114]
00000218 487A 00CC pea.l [PC + 0xCC /* 000002E6, value 0x4946 'IF', cstring "" */]
0000021C 42A7 clr.l -[A7]
0000021E 3F3C 0001 move.w -[A7], 0x1
00000222 486E FEDC pea.l [A6 - 0x124]
00000226 42A7 clr.l -[A7]
00000228 486E FE92 pea.l [A6 - 0x16E]
0000022C 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000230 4A2E FE92 tst.b [A6 - 0x16E]
00000234 6700 004E beq +0x50 /* 00000284 */
00000238 558F subq.l A7, 2
0000023A 42A7 clr.l -[A7]
0000023C 3F2E FE98 move.w -[A7], [A6 - 0x168]
00000240 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
00000244 3E1F move.w D7, [A7]+
00000246 3B47 F2CC move.w [A5 - 0xD34], D7
0000024A 558F subq.l A7, 2
0000024C 3F2D F2CC move.w -[A7], [A5 - 0xD34]
00000250 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
00000254 1E1F move.b D7, [A7]+
00000256 6700 0006 beq +0x8 /* 0000025E */
0000025A 4EFA 0082 jmp [PC + 0x82 /* 000002DE */]
label0000025E:
0000025E 558F subq.l A7, 2
00000260 486E FE9C pea.l [A6 - 0x164]
00000264 A997 syscall OpenResFile
00000266 3E1F move.w D7, [A7]+
00000268 3D47 FFFA move.w [A6 - 0x6], D7
0000026C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000270 A998 syscall UseResFile
00000272 49ED FEF2 lea.l A4, [A5 - 0x10E]
00000276 47EE FE9C lea.l A3, [A6 - 0x164]
0000027A 4247 clr.w D7
0000027C 1E13 move.b D7, [A3]
label0000027E:
0000027E 18DB move.b [A4]+, [A3]+
00000280 51CF FFFC dbf D7, -0x6 /* 0000027E */
label00000284:
00000284 3E3C 0000 move.w D7, 0x0
00000288 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
0000028C 6E00 002A bgt +0x2C /* 000002B8 */
label00000290:
00000290 3C07 move.w D6, D7
00000292 E54E lsl D6.w, 2
00000294 49ED F2CE lea.l A4, [A5 - 0xD32]
00000298 598F subq.l A7, 4
0000029A 3A07 move.w D5, D7
0000029C 0645 03E8 addi.w D5, 0x3E8
000002A0 3F05 move.w -[A7], D5
000002A2 A9BB syscall GetIcon
000002A4 2A1F move.l D5, [A7]+
000002A6 2985 6000 move.l [A4 + D6.w], D5
000002AA 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
000002AE 6C00 0008 bge +0xA /* 000002B8 */
000002B2 5247 addq.w D7, 1
000002B4 4EFA FFDA jmp [PC - 0x26 /* 00000290 */]
label000002B8:
000002B8 558F subq.l A7, 2
000002BA 42A7 clr.l -[A7]
000002BC 3F2D F2CA move.w -[A7], [A5 - 0xD36]
000002C0 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
000002C4 3E1F move.w D7, [A7]+
000002C6 3B47 F2CC move.w [A5 - 0xD34], D7
000002CA 558F subq.l A7, 2
000002CC 3F2D F2CC move.w -[A7], [A5 - 0xD34]
000002D0 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000002D4 1E1F move.b D7, [A7]+
000002D6 6700 0006 beq +0x8 /* 000002DE */
000002DA 4EFA 0002 jmp [PC + 0x2 /* 000002DE */]
label000002DE:
000002DE 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000002E2 4E5E unlink A6
000002E4 4E75 rts
000002E6 0000 4946 ori.b D0, 0x46 /* 'F' */
000002EA 494C chk.w D4, A4
000002EC 4946 chk.w D4, D6
000002EE 494C chk.w D4, A4
000002F0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000002F2-000002FA
fn000002F2:
000002F2 4E56 0000 link A6, 0
000002F6 48E7 0100 movem.l -[A7], D7
// end alternate branch 000002F2-000002FA
fn000002F2: // (misaligned)
000002F4 0000 48E7 ori.b D0, 0xE7
000002F8 0100 btst D0, D0
000002FA 598F subq.l A7, 4
000002FC 3F3C 0001 move.w -[A7], 0x1
00000300 A9BF syscall GetRMenu
00000302 2E1F move.l D7, [A7]+
00000304 2B47 F276 move.l [A5 - 0xD8A], D7
00000308 2F2D F276 move.l -[A7], [A5 - 0xD8A]
0000030C 2F3A 006E move.l -[A7], [PC + 0x6E /* 0000037C, value 0x44525652 'DRVR' */]
00000310 A94D syscall AppendResMenu/AddResMenu
00000312 2F2D F276 move.l -[A7], [A5 - 0xD8A]
00000316 4267 clr.w -[A7]
00000318 A935 syscall InsertMenu
0000031A 598F subq.l A7, 4
0000031C 3F3C 0002 move.w -[A7], 0x2
00000320 A9BF syscall GetRMenu
00000322 2E1F move.l D7, [A7]+
00000324 2B47 F27A move.l [A5 - 0xD86], D7
00000328 2F2D F27A move.l -[A7], [A5 - 0xD86]
0000032C 4267 clr.w -[A7]
0000032E A935 syscall InsertMenu
00000330 598F subq.l A7, 4
00000332 3F3C 0003 move.w -[A7], 0x3
00000336 A9BF syscall GetRMenu
00000338 2E1F move.l D7, [A7]+
0000033A 2B47 F27E move.l [A5 - 0xD82], D7
0000033E 2F2D F27E move.l -[A7], [A5 - 0xD82]
00000342 4267 clr.w -[A7]
00000344 A935 syscall InsertMenu
00000346 598F subq.l A7, 4
00000348 3F3C 0004 move.w -[A7], 0x4
0000034C A9BF syscall GetRMenu
0000034E 2E1F move.l D7, [A7]+
00000350 2B47 F282 move.l [A5 - 0xD7E], D7
00000354 2F2D F282 move.l -[A7], [A5 - 0xD7E]
00000358 4267 clr.w -[A7]
0000035A A935 syscall InsertMenu
0000035C 598F subq.l A7, 4
0000035E 3F3C 0005 move.w -[A7], 0x5
00000362 A9BF syscall GetRMenu
00000364 2E1F move.l D7, [A7]+
00000366 2B47 F286 move.l [A5 - 0xD7A], D7
0000036A 2F2D F286 move.l -[A7], [A5 - 0xD7A]
0000036E 4267 clr.w -[A7]
00000370 A935 syscall InsertMenu
00000372 A937 syscall DrawMenuBar
00000374 4CDF 0080 movem.l D7, [A7]+
00000378 4E5E unlink A6
0000037A 4E75 rts
0000037C 4452 neg.w [A2]
0000037E 5652 addq.w [A2], 3
fn00000380:
00000380 4E56 FFF4 link A6, -0x000C
00000384 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000388 598F subq.l A7, 4
0000038A 3F3C 03E8 move.w -[A7], 0x3E8
0000038E A9B9 syscall GetCursor
00000390 2E1F move.l D7, [A7]+
00000392 2B47 F292 move.l [A5 - 0xD6E], D7
00000396 3E3C 0000 move.w D7, 0x0
0000039A 0C47 0003 cmpi.w D7, 0x3
0000039E 6E00 0030 bgt +0x32 /* 000003D0 */
label000003A2:
000003A2 3C3C 03E9 move.w D6, 0x3E9
000003A6 DC47 add.w D6, D7
000003A8 3D46 FFFC move.w [A6 - 0x4], D6
000003AC 3C07 move.w D6, D7
000003AE E54E lsl D6.w, 2
000003B0 49ED F296 lea.l A4, [A5 - 0xD6A]
000003B4 598F subq.l A7, 4
000003B6 3F2E FFFC move.w -[A7], [A6 - 0x4]
000003BA A9B9 syscall GetCursor
000003BC 2A1F move.l D5, [A7]+
000003BE 2985 6000 move.l [A4 + D6.w], D5
000003C2 0C47 0003 cmpi.w D7, 0x3
000003C6 6C00 0008 bge +0xA /* 000003D0 */
000003CA 5247 addq.w D7, 1
000003CC 4EFA FFD4 jmp [PC - 0x2C /* 000003A2 */]
label000003D0:
000003D0 598F subq.l A7, 4
000003D2 2F3A 006A move.l -[A7], [PC + 0x6A /* 0000043E, value 0x53504F54 'SPOT' */]
000003D6 3F3C 03E8 move.w -[A7], 0x3E8
000003DA A9A0 syscall GetResource
000003DC 2E1F move.l D7, [A7]+
000003DE 2D47 FFF8 move.l [A6 - 0x8], D7
000003E2 2B6E FFF8 F6A2 move.l [A5 - 0x95E], [A6 - 0x8]
000003E8 598F subq.l A7, 4
000003EA 2F3A 004E move.l -[A7], [PC + 0x4E /* 0000043A, value 0x5349434E 'SICN' */]
000003EE 3F3C 03E8 move.w -[A7], 0x3E8
000003F2 A9A0 syscall GetResource
000003F4 2E1F move.l D7, [A7]+
000003F6 2D47 FFF4 move.l [A6 - 0xC], D7
000003FA 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000003FE 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00000402 286E FFF4 movea.l A4, [A6 - 0xC]
00000406 2B54 F2AA move.l [A5 - 0xD56], [A4]
0000040A 3B7C 0002 F2AE move.w [A5 - 0xD52], 0x2
00000410 486D F2B0 pea.l [A5 - 0xD50]
00000414 4267 clr.w -[A7]
00000416 4267 clr.w -[A7]
00000418 3F3C 0010 move.w -[A7], 0x10
0000041C 3F3C 0010 move.w -[A7], 0x10
00000420 A8A7 syscall SetRect
00000422 598F subq.l A7, 4
00000424 3F3C 0004 move.w -[A7], 0x4
00000428 A9B9 syscall GetCursor
0000042A 2E1F move.l D7, [A7]+
0000042C 2B47 F28E move.l [A5 - 0xD72], D7
00000430 A850 syscall InitCursor
00000432 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000436 4E5E unlink A6
00000438 4E75 rts
0000043A 5349 subq.w A1, 1
0000043C 434E chk.w D1, A6
0000043E 5350 subq.w [A0], 1
00000440 4F54 chk.w D7, [A4]
fn00000442:
00000442 4E56 FFF0 link A6, -0x0010
00000446 48E7 0118 movem.l -[A7], D7,A3,A4
0000044A 422D FB70 clr.b [A5 - 0x490]
0000044E 422E 0008 clr.b [A6 + 0x8]
00000452 49ED FCF2 lea.l A4, [A5 - 0x30E]
00000456 47FA 00B6 lea.l A3, [PC + 0xB6 /* 0000050E, value 0x10544C55, pstring "TLUAFED & TROPER" */]
0000045A 4247 clr.w D7
0000045C 1E13 move.b D7, [A3]
label0000045E:
0000045E 18DB move.b [A4]+, [A3]+
00000460 51CF FFFC dbf D7, -0x6 /* 0000045E */
00000464 558F subq.l A7, 2
00000466 486D FCF2 pea.l [A5 - 0x30E]
0000046A A997 syscall OpenResFile
0000046C 3E1F move.w D7, [A7]+
0000046E 3B47 F2C8 move.w [A5 - 0xD38], D7
00000472 0C6D 0000 F2C8 cmpi.w [A5 - 0xD38], 0x0
00000478 6C00 001E bge +0x20 /* 00000498 */
0000047C 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
00000480 A99A syscall CloseResFile
00000482 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
00000488 4EBA 0096 jsr [PC + 0x96 /* 00000520 */]
0000048C 4A6D F2CC tst.w [A5 - 0xD34]
00000490 6700 0006 beq +0x8 /* 00000498 */
00000494 4EFA 0070 jmp [PC + 0x70 /* 00000506 */]
label00000498:
00000498 558F subq.l A7, 2
0000049A 486D FCF2 pea.l [A5 - 0x30E]
0000049E 3F2D F2CA move.w -[A7], [A5 - 0xD36]
000004A2 486E FFF0 pea.l [A6 - 0x10]
000004A6 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
000004AA 3E1F move.w D7, [A7]+
000004AC 3B47 F2CC move.w [A5 - 0xD34], D7
000004B0 558F subq.l A7, 2
000004B2 3F2D F2CC move.w -[A7], [A5 - 0xD34]
000004B6 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000004BA 1E1F move.b D7, [A7]+
000004BC 6700 0006 beq +0x8 /* 000004C4 */
000004C0 4EFA 0044 jmp [PC + 0x44 /* 00000506 */]
label000004C4:
000004C4 0C6E 4000 FFF8 cmpi.w [A6 - 0x8], 0x4000 /* '@\0' */
000004CA 6700 003A beq +0x3C /* 00000506 */
000004CE 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
000004D2 A99A syscall CloseResFile
000004D4 558F subq.l A7, 2
000004D6 486D FCF2 pea.l [A5 - 0x30E]
000004DA 3F2D F2CA move.w -[A7], [A5 - 0xD36]
000004DE 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
000004E2 3E1F move.w D7, [A7]+
000004E4 3B47 F2CC move.w [A5 - 0xD34], D7
000004E8 558F subq.l A7, 2
000004EA 3F2D F2CC move.w -[A7], [A5 - 0xD34]
000004EE 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000004F2 1E1F move.b D7, [A7]+
000004F4 6700 0006 beq +0x8 /* 000004FC */
000004F8 4EFA 000C jmp [PC + 0xC /* 00000506 */]
label000004FC:
000004FC 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
00000502 4EBA 001C jsr [PC + 0x1C /* 00000520 */]
label00000506:
00000506 4CDF 1880 movem.l D7,A3,A4, [A7]+
0000050A 4E5E unlink A6
0000050C 4E75 rts
0000050E 1054 movea.b A0, [A4]
00000510 4C55 4146 movem.l D1,D2,D6,A0,A6, [A5]
00000514 4544 chk.w D2, D4
00000516 2026 move.l D0, -[A6]
00000518 2054 movea.l A0, [A4]
0000051A 524F addq.w A7, 1
0000051C 5045 addq.w D5, 8
0000051E 5200 addq.b D0, 1
fn00000520:
00000520 4E56 FFE8 link A6, -0x0018
00000524 48E7 0100 movem.l -[A7], D7
00000528 558F subq.l A7, 2
0000052A 42A7 clr.l -[A7]
0000052C 3F2D F2CA move.w -[A7], [A5 - 0xD36]
00000530 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
00000534 3E1F move.w D7, [A7]+
00000536 3B47 F2CC move.w [A5 - 0xD34], D7
0000053A 558F subq.l A7, 2
0000053C 3F2D F2CC move.w -[A7], [A5 - 0xD34]
00000540 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
00000544 1E1F move.b D7, [A7]+
00000546 6700 0006 beq +0x8 /* 0000054E */
0000054A 4EFA 015E jmp [PC + 0x15E /* 000006AA */]
label0000054E:
0000054E 486D FCF2 pea.l [A5 - 0x30E]
00000552 A9B1 syscall CreateResFile
00000554 558F subq.l A7, 2
00000556 A9AF syscall ResError
00000558 3E1F move.w D7, [A7]+
0000055A 3B47 F2CC move.w [A5 - 0xD34], D7
0000055E 0C6D FFD5 F2CC cmpi.w [A5 - 0xD34], 0xFFD5
00000564 6600 0008 bne +0xA /* 0000056E */
00000568 3B7C FFD4 F2CC move.w [A5 - 0xD34], 0xFFD4
label0000056E:
0000056E 558F subq.l A7, 2
00000570 3F2D F2CC move.w -[A7], [A5 - 0xD34]
00000574 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
00000578 1E1F move.b D7, [A7]+
0000057A 6700 0006 beq +0x8 /* 00000582 */
0000057E 4EFA 012A jmp [PC + 0x12A /* 000006AA */]
label00000582:
00000582 558F subq.l A7, 2
00000584 42A7 clr.l -[A7]
00000586 3F2D F2CA move.w -[A7], [A5 - 0xD36]
0000058A 4EAD 009A jsr [A5 + 0x9A /* export_15 */]
0000058E 3E1F move.w D7, [A7]+
00000590 3B47 F2CC move.w [A5 - 0xD34], D7
00000594 558F subq.l A7, 2
00000596 3F2D F2CC move.w -[A7], [A5 - 0xD34]
0000059A 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000059E 1E1F move.b D7, [A7]+
000005A0 6700 0006 beq +0x8 /* 000005A8 */
000005A4 4EFA 0104 jmp [PC + 0x104 /* 000006AA */]
label000005A8:
000005A8 558F subq.l A7, 2
000005AA 486D FCF2 pea.l [A5 - 0x30E]
000005AE 3F2D F2CA move.w -[A7], [A5 - 0xD36]
000005B2 486E FFF0 pea.l [A6 - 0x10]
000005B6 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
000005BA 3E1F move.w D7, [A7]+
000005BC 3B47 F2CC move.w [A5 - 0xD34], D7
000005C0 558F subq.l A7, 2
000005C2 3F2D F2CC move.w -[A7], [A5 - 0xD34]
000005C6 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000005CA 1E1F move.b D7, [A7]+
000005CC 6700 0006 beq +0x8 /* 000005D4 */
000005D0 4EFA 00D8 jmp [PC + 0xD8 /* 000006AA */]
label000005D4:
000005D4 3D7C 4000 FFF8 move.w [A6 - 0x8], 0x4000 /* '@\0' */
000005DA 558F subq.l A7, 2
000005DC 486D FCF2 pea.l [A5 - 0x30E]
000005E0 3F2D F2CA move.w -[A7], [A5 - 0xD36]
000005E4 486E FFF0 pea.l [A6 - 0x10]
000005E8 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000005EC 3E1F move.w D7, [A7]+
000005EE 3B47 F2CC move.w [A5 - 0xD34], D7
000005F2 558F subq.l A7, 2
000005F4 3F2D F2CC move.w -[A7], [A5 - 0xD34]
000005F8 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000005FC 1E1F move.b D7, [A7]+
000005FE 6700 0006 beq +0x8 /* 00000606 */
00000602 4EFA 00A6 jmp [PC + 0xA6 /* 000006AA */]
label00000606:
00000606 558F subq.l A7, 2
00000608 486D FCF2 pea.l [A5 - 0x30E]
0000060C A997 syscall OpenResFile
0000060E 3E1F move.w D7, [A7]+
00000610 3B47 F2C8 move.w [A5 - 0xD38], D7
00000614 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
00000618 A998 syscall UseResFile
0000061A 598F subq.l A7, 4
0000061C 2F3A 00AA move.l -[A7], [PC + 0xAA /* 000006C8, value 0x44464C54 'DFLT' */]
00000620 3F3C 03E9 move.w -[A7], 0x3E9
00000624 A9A0 syscall GetResource
00000626 2E1F move.l D7, [A7]+
00000628 2B47 F2BC move.l [A5 - 0xD44], D7
0000062C 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000630 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
00000634 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000638 A992 syscall DetachResource
0000063A 598F subq.l A7, 4
0000063C 487A 0088 pea.l [PC + 0x88 /* 000006C6, value 0x4446 'DF', cstring "" */]
00000640 A906 syscall NewString
00000642 2E1F move.l D7, [A7]+
00000644 2D47 FFEC move.l [A6 - 0x14], D7
00000648 598F subq.l A7, 4
0000064A 487A 0078 pea.l [PC + 0x78 /* 000006C4, value 0x0, cstring "" */]
0000064E A906 syscall NewString
00000650 2E1F move.l D7, [A7]+
00000652 2D47 FFE8 move.l [A6 - 0x18], D7
00000656 2F2D F2BC move.l -[A7], [A5 - 0xD44]
0000065A 2F3A 0064 move.l -[A7], [PC + 0x64 /* 000006C0, value 0x44464C54 'DFLT', cstring "DFLT" */]
0000065E 3F3C 03E8 move.w -[A7], 0x3E8
00000662 487A 005A pea.l [PC + 0x5A /* 000006BE, value 0x4446 'DF', cstring "" */]
00000666 A9AB syscall AddResource
00000668 2F2E FFEC move.l -[A7], [A6 - 0x14]
0000066C 2F3A 004C move.l -[A7], [PC + 0x4C /* 000006BA, value 0x53545220 'STR ', cstring "STR " */]
00000670 3F3C 03E8 move.w -[A7], 0x3E8
00000674 487A 0042 pea.l [PC + 0x42 /* 000006B8, value 0x5354 'ST', cstring "" */]
00000678 A9AB syscall AddResource
0000067A 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000067E 2F3A 0034 move.l -[A7], [PC + 0x34 /* 000006B4, value 0x53545220 'STR ', cstring "STR " */]
00000682 3F3C 03E9 move.w -[A7], 0x3E9
00000686 487A 002A pea.l [PC + 0x2A /* 000006B2, value 0x5354 'ST', cstring "" */]
0000068A A9AB syscall AddResource
0000068C 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000690 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00000694 A9A7 syscall SetResAttrs
00000696 2F2D F2BC move.l -[A7], [A5 - 0xD44]
0000069A A9AA syscall ChangedResource
0000069C 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
000006A0 A999 syscall UpdateResFile
000006A2 2F2D F2BC move.l -[A7], [A5 - 0xD44]
000006A6 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
label000006AA:
000006AA 4CDF 0080 movem.l D7, [A7]+
000006AE 4E5E unlink A6
000006B0 4E75 rts
000006B2 0000 5354 ori.b D0, 0x54 /* 'T' */
000006B6 5220 addq.b -[A0], 1
000006B8 0000 5354 ori.b D0, 0x54 /* 'T' */
000006BC 5220 addq.b -[A0], 1
000006BE 0000 4446 ori.b D0, 0x46 /* 'F' */
000006C2 4C54 0000 movem.l <none>, [A4]
000006C6 0000 4446 ori.b D0, 0x46 /* 'F' */
000006CA 4C54 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, [A4]
// begin alternate branch 000006CC-000006D0
fn000006CC:
000006CC 4E56 FFF8 link A6, -0x0008
// end alternate branch 000006CC-000006D0
fn000006CC: // (misaligned)
000006CE FFF8 .invalid <<F/7/7>>
000006D0 48E7 0708 movem.l -[A7], D5,D6,D7,A4
000006D4 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
000006D8 A998 syscall UseResFile
000006DA 598F subq.l A7, 4
000006DC 3F3C 03E8 move.w -[A7], 0x3E8
000006E0 42A7 clr.l -[A7]
000006E2 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000006E8 A9BD syscall GetNewWindow
000006EA 2E1F move.l D7, [A7]+
000006EC 2B47 F266 move.l [A5 - 0xD9A], D7
000006F0 2F2D F266 move.l -[A7], [A5 - 0xD9A]
000006F4 A915 syscall ShowWindow
000006F6 4247 clr.w D7
000006F8 1E2D FEF2 move.b D7, [A5 - 0x10E]
000006FC 3F07 move.w -[A7], D7
000006FE 486D FEF3 pea.l [A5 - 0x10D]
00000702 3F3C 0000 move.w -[A7], 0x0
00000706 487A 01D0 pea.l [PC + 0x1D0 /* 000008D8, value 0x4E56FFFA */]
0000070A 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
0000070E 6700 0010 beq +0x12 /* 00000720 */
00000712 2F2D F266 move.l -[A7], [A5 - 0xD9A]
00000716 486D FEF2 pea.l [A5 - 0x10E]
0000071A A91A syscall SetWTitle
0000071C 4EFA 000C jmp [PC + 0xC /* 0000072A */]
label00000720:
00000720 2F2D F266 move.l -[A7], [A5 - 0xD9A]
00000724 486D FEF2 pea.l [A5 - 0x10E]
00000728 A919 syscall GetWTitle
label0000072A:
0000072A 2F2D F266 move.l -[A7], [A5 - 0xD9A]
0000072E A873 syscall SetPort
00000730 4267 clr.w -[A7]
00000732 A887 syscall TextFont
00000734 3F3C 000C move.w -[A7], 0xC
00000738 A88A syscall TextSize
0000073A 3F3C 0001 move.w -[A7], 0x1
0000073E A889 syscall TextMode
00000740 486D F1D4 pea.l [A5 - 0xE2C]
00000744 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000748 486D FB60 pea.l [A5 - 0x4A0]
0000074C 3F3C 0172 move.w -[A7], 0x172
00000750 3F3C 0104 move.w -[A7], 0x104
00000754 3F3C 01EA move.w -[A7], 0x1EA
00000758 3F3C 012C move.w -[A7], 0x12C
0000075C A8A7 syscall SetRect
0000075E 486D FB58 pea.l [A5 - 0x4A8]
00000762 3F3C 0002 move.w -[A7], 0x2
00000766 3F3C 0002 move.w -[A7], 0x2
0000076A 3F3C 0169 move.w -[A7], 0x169
0000076E 3F3C 0121 move.w -[A7], 0x121
00000772 A8A7 syscall SetRect
00000774 3E3C 0000 move.w D7, 0x0
00000778 0C47 0001 cmpi.w D7, 0x1
0000077C 6E00 0046 bgt +0x48 /* 000007C4 */
label00000780:
00000780 3C07 move.w D6, D7
00000782 CDFC 0090 muls.w D6, 0x90
00000786 5846 addq.w D6, 4
00000788 3D46 FFFE move.w [A6 - 0x2], D6
0000078C 3C07 move.w D6, D7
0000078E 5246 addq.w D6, 1
00000790 5346 subq.w D6, 1
00000792 CDFC 0012 muls.w D6, 0x12
00000796 49ED F6A6 lea.l A4, [A5 - 0x95A]
0000079A 4874 6002 pea.l [A4 + D6.w + 0x2]
0000079E 3F3C 0178 move.w -[A7], 0x178
000007A2 3F2E FFFE move.w -[A7], [A6 - 0x2]
000007A6 3F3C 01E6 move.w -[A7], 0x1E6
000007AA 3A2E FFFE move.w D5, [A6 - 0x2]
000007AE 0645 0044 addi.w D5, 0x44 /* 'D' */
000007B2 3F05 move.w -[A7], D5
000007B4 A8A7 syscall SetRect
000007B6 0C47 0001 cmpi.w D7, 0x1
000007BA 6C00 0008 bge +0xA /* 000007C4 */
000007BE 5247 addq.w D7, 1
000007C0 4EFA FFBE jmp [PC - 0x42 /* 00000780 */]
label000007C4:
000007C4 3E3C 0001 move.w D7, 0x1
000007C8 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
000007CC 6E00 0066 bgt +0x68 /* 00000834 */
label000007D0:
000007D0 3C07 move.w D6, D7
000007D2 5346 subq.w D6, 1
000007D4 48C6 ext.l D6
000007D6 8DFC 000A divs.w D6, 0xA /* '\n' */
000007DA 4846 swap.w D6
000007DC CDFC 0024 muls.w D6, 0x24 /* '$' */
000007E0 5846 addq.w D6, 4
000007E2 3D46 FFFE move.w [A6 - 0x2], D6
000007E6 3C07 move.w D6, D7
000007E8 5346 subq.w D6, 1
000007EA 48C6 ext.l D6
000007EC 8DFC 000A divs.w D6, 0xA /* '\n' */
000007F0 CDFC 0024 muls.w D6, 0x24 /* '$' */
000007F4 5846 addq.w D6, 4
000007F6 3D46 FFFC move.w [A6 - 0x4], D6
000007FA 3C07 move.w D6, D7
000007FC 5346 subq.w D6, 1
000007FE E74E lsl D6.w, 3
00000800 49ED F422 lea.l A4, [A5 - 0xBDE]
00000804 4874 6000 pea.l [A4 + D6.w]
00000808 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000080C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00000810 3C2E FFFE move.w D6, [A6 - 0x2]
00000814 0646 0020 addi.w D6, 0x20 /* ' ' */
00000818 3F06 move.w -[A7], D6
0000081A 3C2E FFFC move.w D6, [A6 - 0x4]
0000081E 0646 0020 addi.w D6, 0x20 /* ' ' */
00000822 3F06 move.w -[A7], D6
00000824 A8A7 syscall SetRect
00000826 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
0000082A 6C00 0008 bge +0xA /* 00000834 */
0000082E 5247 addq.w D7, 1
00000830 4EFA FF9E jmp [PC - 0x62 /* 000007D0 */]
label00000834:
00000834 A8DA syscall OpenRgn
00000836 286D F266 movea.l A4, [A5 - 0xD9A]
0000083A 486C 0010 pea.l [A4 + 0x10]
0000083E A8A1 syscall FrameRect
00000840 3E3C 0001 move.w D7, 0x1
00000844 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000848 6E00 0020 bgt +0x22 /* 0000086A */
label0000084C:
0000084C 3C07 move.w D6, D7
0000084E 5346 subq.w D6, 1
00000850 E74E lsl D6.w, 3
00000852 49ED F422 lea.l A4, [A5 - 0xBDE]
00000856 4874 6000 pea.l [A4 + D6.w]
0000085A A8A1 syscall FrameRect
0000085C 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000860 6C00 0008 bge +0xA /* 0000086A */
00000864 5247 addq.w D7, 1
00000866 4EFA FFE4 jmp [PC - 0x1C /* 0000084C */]
label0000086A:
0000086A 2F2D F28A move.l -[A7], [A5 - 0xD76]
0000086E A8DB syscall CloseRgn
00000870 598F subq.l A7, 4
00000872 2F3A 0060 move.l -[A7], [PC + 0x60 /* 000008D4, value 0x414D564C 'AMVL' */]
00000876 3F3C 03E8 move.w -[A7], 0x3E8
0000087A A9A0 syscall GetResource
0000087C 2E1F move.l D7, [A7]+
0000087E 2B47 F2C0 move.l [A5 - 0xD40], D7
00000882 598F subq.l A7, 4
00000884 3F3C 03EB move.w -[A7], 0x3EB
00000888 A9BA syscall GetString
0000088A 2E1F move.l D7, [A7]+
0000088C 2B47 F412 move.l [A5 - 0xBEE], D7
00000890 598F subq.l A7, 4
00000892 3F3C 03E8 move.w -[A7], 0x3E8
00000896 A9BA syscall GetString
00000898 2E1F move.l D7, [A7]+
0000089A 2B47 F416 move.l [A5 - 0xBEA], D7
0000089E 598F subq.l A7, 4
000008A0 3F3C 03EA move.w -[A7], 0x3EA
000008A4 A9BA syscall GetString
000008A6 2E1F move.l D7, [A7]+
000008A8 2B47 F41A move.l [A5 - 0xBE6], D7
000008AC 598F subq.l A7, 4
000008AE 3F3C 03E9 move.w -[A7], 0x3E9
000008B2 A9BA syscall GetString
000008B4 2E1F move.l D7, [A7]+
000008B6 2B47 F41E move.l [A5 - 0xBE2], D7
000008BA 598F subq.l A7, 4
000008BC 3F3C 03EC move.w -[A7], 0x3EC
000008C0 A9BA syscall GetString
000008C2 2E1F move.l D7, [A7]+
000008C4 2B47 F2C4 move.l [A5 - 0xD3C], D7
000008C8 426D F2A6 clr.w [A5 - 0xD5A]
000008CC 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
000008D0 4E5E unlink A6
000008D2 4E75 rts
000008D4 414D chk.w D0, A5
000008D6 564C addq.w A4, 3
fn000008D8:
000008D8 4E56 FFFA link A6, -0x0006
000008DC 48E7 0308 movem.l -[A7], D6,D7,A4
000008E0 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
000008E4 A998 syscall UseResFile
000008E6 598F subq.l A7, 4
000008E8 2F3A 00F4 move.l -[A7], [PC + 0xF4 /* 000009DE, value 0x47524550 'GREP', cstring "GREPNV" */]
000008EC 486D FEF2 pea.l [A5 - 0x10E]
000008F0 A9A1 syscall GetNamedResource
000008F2 2E1F move.l D7, [A7]+
000008F4 2B47 F2B8 move.l [A5 - 0xD48], D7
000008F8 558F subq.l A7, 2
000008FA A9AF syscall ResError
000008FC 3E1F move.w D7, [A7]+
000008FE 4A47 tst.w D7
00000900 56C7 sne D7
00000902 4407 neg.b D7
00000904 4AAD F2B8 tst.l [A5 - 0xD48]
00000908 57C6 seq D6
0000090A 4406 neg.b D6
0000090C 8C07 or.b D6, D7
0000090E 6700 00BA beq +0xBC /* 000009CA */
00000912 598F subq.l A7, 4
00000914 2F3C 0000 015E move.l -[A7], 0x15E
0000091A 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
0000091E 2E1F move.l D7, [A7]+
00000920 2B47 F2B8 move.l [A5 - 0xD48], D7
00000924 2F2D F2B8 move.l -[A7], [A5 - 0xD48]
00000928 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
0000092C 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */]
00000930 4EAD 01CA jsr [A5 + 0x1CA /* export_53 */]
00000934 286D F2B8 movea.l A4, [A5 - 0xD48]
00000938 2854 movea.l A4, [A4]
0000093A 197C 0001 0007 move.b [A4 + 0x7], 0x1
00000940 197C 0001 0006 move.b [A4 + 0x6], 0x1
00000946 558F subq.l A7, 2
00000948 2F3A 0090 move.l -[A7], [PC + 0x90 /* 000009DA, value 0x47524550 'GREP', cstring "GREPGREPNV" */]
0000094C A9C1 syscall UniqueID
0000094E 3E1F move.w D7, [A7]+
00000950 3D47 FFFA move.w [A6 - 0x6], D7
00000954 2F2D F2B8 move.l -[A7], [A5 - 0xD48]
00000958 2F3A 007C move.l -[A7], [PC + 0x7C /* 000009D6, value 0x47524550 'GREP', cstring "GREPGREPGREPNV" */]
0000095C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000960 486D FEF2 pea.l [A5 - 0x10E]
00000964 A9AB syscall AddResource
00000966 558F subq.l A7, 2
00000968 A9AF syscall ResError
0000096A 3E1F move.w D7, [A7]+
0000096C 3B47 F2CC move.w [A5 - 0xD34], D7
00000970 558F subq.l A7, 2
00000972 3F2D F2CC move.w -[A7], [A5 - 0xD34]
00000976 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000097A 1E1F move.b D7, [A7]+
0000097C 6700 0006 beq +0x8 /* 00000984 */
00000980 4EFA 004C jmp [PC + 0x4C /* 000009CE */]
label00000984:
00000984 3F2D F2C8 move.w -[A7], [A5 - 0xD38]
00000988 A999 syscall UpdateResFile
0000098A 558F subq.l A7, 2
0000098C A9AF syscall ResError
0000098E 3E1F move.w D7, [A7]+
00000990 3B47 F2CC move.w [A5 - 0xD34], D7
00000994 558F subq.l A7, 2
00000996 3F2D F2CC move.w -[A7], [A5 - 0xD34]
0000099A 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000099E 1E1F move.b D7, [A7]+
000009A0 6700 0006 beq +0x8 /* 000009A8 */
000009A4 4EFA 0028 jmp [PC + 0x28 /* 000009CE */]
label000009A8:
000009A8 2F2D F2B8 move.l -[A7], [A5 - 0xD48]
000009AC 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000009B0 A9A7 syscall SetResAttrs
000009B2 2F2D F2B8 move.l -[A7], [A5 - 0xD48]
000009B6 A9AA syscall ChangedResource
000009B8 2F2D F2B8 move.l -[A7], [A5 - 0xD48]
000009BC 4EAD 00E2 jsr [A5 + 0xE2 /* export_24 */]
000009C0 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
000009C6 4EFA 0006 jmp [PC + 0x6 /* 000009CE */]
label000009CA:
000009CA 422E 0008 clr.b [A6 + 0x8]
label000009CE:
000009CE 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000009D2 4E5E unlink A6
000009D4 4E75 rts
000009D6 4752 chk.w D3, [A2]
000009D8 4550 chk.w D2, [A0]
000009DA 4752 chk.w D3, [A2]
000009DC 4550 chk.w D2, [A0]
000009DE 4752 chk.w D3, [A2]
000009E0 4550 chk.w D2, [A0]
fn000009E2:
000009E2 4E56 0000 link A6, 0
000009E6 48E7 0108 movem.l -[A7], D7,A4
000009EA 598F subq.l A7, 4
000009EC 2F3A 00BE move.l -[A7], [PC + 0xBE /* 00000AAC, value 0x44464C54 'DFLT' */]
000009F0 3F3C 03E8 move.w -[A7], 0x3E8
000009F4 A9A0 syscall GetResource
000009F6 2E1F move.l D7, [A7]+
000009F8 2B47 F2BC move.l [A5 - 0xD44], D7
000009FC 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000A00 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00000A04 1B7C 0003 FB70 move.b [A5 - 0x490], 0x3
00000A0A 286D F2BC movea.l A4, [A5 - 0xD44]
00000A0E 2854 movea.l A4, [A4]
00000A10 1B6C 001A FB94 move.b [A5 - 0x46C], [A4 + 0x1A]
00000A16 1B6C 001B FB92 move.b [A5 - 0x46E], [A4 + 0x1B]
00000A1C 1B6C 001C FB96 move.b [A5 - 0x46A], [A4 + 0x1C]
00000A22 1B6C 001D FB98 move.b [A5 - 0x468], [A4 + 0x1D]
00000A28 1B6C 0005 FB9C move.b [A5 - 0x464], [A4 + 0x5]
00000A2E 3B6C 0014 FB78 move.w [A5 - 0x488], [A4 + 0x14]
00000A34 1B6C 0004 FB9A move.b [A5 - 0x466], [A4 + 0x4]
00000A3A 2B6C 0008 FB86 move.l [A5 - 0x47A], [A4 + 0x8]
00000A40 2B6C 000C FFF2 move.l [A5 - 0xE], [A4 + 0xC]
00000A46 2B6C 0010 FFF6 move.l [A5 - 0xA], [A4 + 0x10]
00000A4C 3B6C 0016 FB76 move.w [A5 - 0x48A], [A4 + 0x16]
00000A52 3B6C 0018 FFFA move.w [A5 - 0x6], [A4 + 0x18]
00000A58 3B6C 0002 FB72 move.w [A5 - 0x48E], [A4 + 0x2]
00000A5E 3B54 FB74 move.w [A5 - 0x48C], [A4]
00000A62 3F2D FB74 move.w -[A7], [A5 - 0x48C]
00000A66 4EAD 01FA jsr [A5 + 0x1FA /* export_59 */]
00000A6A 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
00000A6E 4EAD 026A jsr [A5 + 0x26A /* export_73 */]
00000A72 0C6D 0008 FB76 cmpi.w [A5 - 0x48A], 0x8
00000A78 6F00 0022 ble +0x24 /* 00000A9C */
00000A7C 3B7C 0004 FB76 move.w [A5 - 0x48A], 0x4
00000A82 422D FB9A clr.b [A5 - 0x466]
00000A86 1B7C 0001 FB9C move.b [A5 - 0x464], 0x1
00000A8C 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000A90 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00000A94 A9A7 syscall SetResAttrs
00000A96 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000A9A A9AA syscall ChangedResource
label00000A9C:
00000A9C 2F2D F2BC move.l -[A7], [A5 - 0xD44]
00000AA0 4EAD 00E2 jsr [A5 + 0xE2 /* export_24 */]
00000AA4 4CDF 1080 movem.l D7,A4, [A7]+
00000AA8 4E5E unlink A6
00000AAA 4E75 rts
00000AAC 4446 neg.w D6
00000AAE 4C54 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, [A4]
// begin alternate branch 00000AB0-00000AB4
fn00000AB0:
00000AB0 4E56 FFFE link A6, -0x0002
// end alternate branch 00000AB0-00000AB4
fn00000AB0: // (misaligned)
00000AB2 FFFE .invalid <<F/7/7>>
00000AB4 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000AB8 4EAD 018A jsr [A5 + 0x18A /* export_45 */]
00000ABC 3E3C 0001 move.w D7, 0x1
00000AC0 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000AC4 6E00 004E bgt +0x50 /* 00000B14 */
label00000AC8:
00000AC8 3C07 move.w D6, D7
00000ACA 5346 subq.w D6, 1
00000ACC E74E lsl D6.w, 3
00000ACE 49ED F422 lea.l A4, [A5 - 0xBDE]
00000AD2 4874 6000 pea.l [A4 + D6.w]
00000AD6 2F2D F2CE move.l -[A7], [A5 - 0xD32]
00000ADA A94B syscall PlotIcon
00000ADC 3C07 move.w D6, D7
00000ADE 5346 subq.w D6, 1
00000AE0 DC46 add.w D6, D6
00000AE2 49ED F798 lea.l A4, [A5 - 0x868]
00000AE6 4274 6000 clr.w [A4 + D6.w]
00000AEA 3C07 move.w D6, D7
00000AEC 5346 subq.w D6, 1
00000AEE DC46 add.w D6, D6
00000AF0 49ED F838 lea.l A4, [A5 - 0x7C8]
00000AF4 4274 6000 clr.w [A4 + D6.w]
00000AF8 3C07 move.w D6, D7
00000AFA 5346 subq.w D6, 1
00000AFC DC46 add.w D6, D6
00000AFE 49ED F6F8 lea.l A4, [A5 - 0x908]
00000B02 3987 6000 move.w [A4 + D6.w], D7
00000B06 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000B0A 6C00 0008 bge +0xA /* 00000B14 */
00000B0E 5247 addq.w D7, 1
00000B10 4EFA FFB6 jmp [PC - 0x4A /* 00000AC8 */]
label00000B14:
00000B14 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
00000B18 3E3C 0001 move.w D7, 0x1
00000B1C 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000B20 6E00 0046 bgt +0x48 /* 00000B68 */
label00000B24:
00000B24 3C07 move.w D6, D7
00000B26 5346 subq.w D6, 1
00000B28 DC46 add.w D6, D6
00000B2A 49ED F6F8 lea.l A4, [A5 - 0x908]
00000B2E 3A34 6000 move.w D5, [A4 + D6.w]
00000B32 5345 subq.w D5, 1
00000B34 E74D lsl D5.w, 3
00000B36 49ED F422 lea.l A4, [A5 - 0xBDE]
00000B3A 4874 5000 pea.l [A4 + D5.w]
00000B3E 3C07 move.w D6, D7
00000B40 E54E lsl D6.w, 2
00000B42 49ED F2CE lea.l A4, [A5 - 0xD32]
00000B46 2F34 6000 move.l -[A7], [A4 + D6.w]
00000B4A A94B syscall PlotIcon
00000B4C 2F3C 0000 0001 move.l -[A7], 0x1
00000B52 486D FB8A pea.l [A5 - 0x476]
00000B56 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
00000B5A 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000B5E 6C00 0008 bge +0xA /* 00000B68 */
00000B62 5247 addq.w D7, 1
00000B64 4EFA FFBE jmp [PC - 0x42 /* 00000B24 */]
label00000B68:
00000B68 3E3C 0001 move.w D7, 0x1
00000B6C 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000B70 6E00 003E bgt +0x40 /* 00000BB0 */
label00000B74:
00000B74 3C07 move.w D6, D7
00000B76 5346 subq.w D6, 1
00000B78 DC46 add.w D6, D6
00000B7A 49ED F6F8 lea.l A4, [A5 - 0x908]
00000B7E 3A34 6000 move.w D5, [A4 + D6.w]
00000B82 5345 subq.w D5, 1
00000B84 E74D lsl D5.w, 3
00000B86 49ED F422 lea.l A4, [A5 - 0xBDE]
00000B8A 4874 5000 pea.l [A4 + D5.w]
00000B8E 2F2D F2CE move.l -[A7], [A5 - 0xD32]
00000B92 A94B syscall PlotIcon
00000B94 2F3C 0000 0001 move.l -[A7], 0x1
00000B9A 486D FB8A pea.l [A5 - 0x476]
00000B9E 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
00000BA2 0C47 0050 cmpi.w D7, 0x50 /* 'P' */
00000BA6 6C00 0008 bge +0xA /* 00000BB0 */
00000BAA 5247 addq.w D7, 1
00000BAC 4EFA FFC6 jmp [PC - 0x3A /* 00000B74 */]
label00000BB0:
00000BB0 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000BB4 4E5E unlink A6
00000BB6 4E75 rts